﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Project.Events
{
    /// <summary>
    /// 发邮件功能
    /// </summary>
    [HandlesAsynchronouslyAttribute]
    public class OrderGeneratorEventHandler_SendEmail : IEventHandler<OrderGeneratorEvent>
    {
        public void Handle(OrderGeneratorEvent evt)
        {
            Console.WriteLine("Order_Number:{0},Send a Email.", evt.OrderId);
        }
    }
}
